package com.helper.easyHelper;

import com.helper.easyHelper.common.entity.Config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 功能：启动类
 * 项目：基于SpringBoot实现自动生成三层架构
 */
@SpringBootApplication
public class EasyHelperApplication {

    public static void main(String[] args) {
        SpringApplication.run(EasyHelperApplication.class, args);
        initConfig();
    }

    private static void initConfig(){
        Config config  = new Config();
        config.setBasePackage("com.baosight.ems");
        config.setModelPackage("model");
    }
}
